package com.itheima.service.mongo;

import com.itheima.domain.mongo.TestResult;
import com.itheima.vo.TestRusultVo;
import com.itheima.vo.TestSoulVo;

import java.util.List;

public interface TestSoulService {

    //测灵魂-问卷列表
    List<TestSoulVo> findTestSoul(Long userId);

    int getScore(String optionId);

    String saveTestResult(TestResult testRusult);

    TestResult findResultById(String id);

    List<TestResult> findResultByType(Integer type);

    void saveTestSoul(TestSoulVo testSoulVo,Long userId);

    Integer getQuestionNum(String optionId);
}
